LOCAL_PATH := $(my-dir)
DIRECTFB_PATH := iot/external/directfb/DirectFB
DIRECTFB_MAGIC_PATH := iot/magic/directfb/DirectFB
##############################################
include $(CLEAR_VARS)
LOCAL_MODULE =libdirectfb
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TOP_DIR)/iot/magic/build
LOCAL_COPY_FILES := libdirectfb.a
LOCAL_DEPANNER_MODULES := directfb-build directfb_copy_etc
include $(BUILD_MULTI_COPY)
#################################################
include $(CLEAR_VARS)

LOCAL_MODULE := directfb_copy_makefileam
LOCAL_MODULE_TAGS :=optional
LOCAL_MODULE_CLASS:=FILES
LOCAL_MODULE_PATH :=$(TOP_DIR)/$(DIRECTFB_PATH)
LOCAL_COPY_FILES := systems/fbdev/Makefile.am:systems/fbdev/Makefile.am wm/Makefile.am:wm/Makefile.am
include $(BUILD_MULTI_COPY)
##############################################
include $(CLEAR_VARS)
LOCAL_MODULE := directfb_copy_etc
LOCAL_MODULE_TAGS :=optional
LOCAL_MODULE_CLASS:=FILES
LOCAL_MODULE_PATH :=$(TOP_DIR)/$(TARGET_FS_BUILD)/usr/etc
LOCAL_COPY_FILES := directfbrc:directfbrc.ingenic
include $(BUILD_MULTI_COPY)
#################################################
